package com.gzdh.tang.warehouse.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gzdh.tang.modu.dto.DInStockKuCunDto;
import com.gzdh.tang.modu.dto.InventoryNumberDto;
import com.gzdh.tang.modu.entity.TangDevice;
import com.gzdh.tang.modu.vo.InStockTempVo;
import com.gzdh.tang.warehouse.entity.InStock;

import java.util.List;
import java.util.Map;

public interface InStockService extends IService<InStock> {

    void insertInStock(List<InStockTempVo> inStockTempVos, TangDevice tangDevice);

    Long saveInStock(InStockTempVo inStockTempVoTemp);

    Map<String, Object> queryInventoryByDeviceId(InventoryNumberDto inventoryNumberDto);

    List<DInStockKuCunDto> getDeviceInventory(String deviceId, Integer addr, Integer ckId);
}